// $URL: http://mingw-lib.googlecode.com/svn/trunk/working/avcodec_to_widget_8/main.cpp $
// $Rev: 279 $
// $Author: akio.miyoshi $
// $Date:: 2010-07-25 11:08:12 +0000#$

#include "widget.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
    //qDebug() << QStyleFactory::keys();
    //("Windows", "WindowsXP", "Motif", "CDE", "Plastique", "Cleanlooks")
    //QStyle *style=QStyleFactory::create("motif");
    QStyle *style=QStyleFactory::create("Plastique");
    //QStyle *style=QStyleFactory::create("Cleanlooks");
    a.setStyle(style);
    Widget w;
    w.show();
    return a.exec();
}
